//
//  HomeTitleCell.swift
//  QualityControlSystem
//
//  Created by dundun on 17/1/12.
//  Copyright © 2017年 com.mask. All rights reserved.
//

import UIKit
import SnapKit

class HomeTitleCell: UITableViewCell {
    
    @IBOutlet weak var homeTitleIconImage: UIImageView!
    @IBOutlet weak var homeTitle: UILabel!
    
    override func awakeFromNib() {
        super.awakeFromNib()
        
        selectionStyle = .none
        
        let line = UIView()
        line.backgroundColor = UIColor.lightGray
        contentView.addSubview(line)
        line.snp.makeConstraints { (make) in
            make.left.equalTo(homeTitleIconImage.snp.left)
            make.bottom.equalTo(contentView.snp.bottom)
            make.centerX.equalTo(contentView.snp.centerX)
            make.height.equalTo(1.0)
        }
    }
    
    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)
        
        // Configure the view for the selected state
    }
}
